3.12.50 \(\int \frac {1}{(a+b x)^{5/2} (a c-b c x)^{5/2}} \, dx\) [1150]

Optimal. Leaf size=67 \[ \frac {x}{3 a^2 c (a+b x)^{3/2} (a c-b c x)^{3/2}}+\frac {2 x}{3 a^4 c^2 \sqrt {a+b x} \sqrt {a c-b c x}} \]

[Out]

1/3*x/a^2/c/(b*x+a)^(3/2)/(-b*c*x+a*c)^(3/2)+2/3*x/a^4/c^2/(b*x+a)^(1/2)/(-b*c*x+a*c)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 67, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {40, 39} \begin {gather*} \frac {2 x}{3 a^4 c^2 \sqrt {a+b x} \sqrt {a c-b c x}}+\frac {x}{3 a^2 c (a+b x)^{3/2} (a c-b c x)^{3/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/((a + b*x)^(5/2)*(a*c - b*c*x)^(5/2)),x]

[Out]

x/(3*a^2*c*(a + b*x)^(3/2)*(a*c - b*c*x)^(3/2)) + (2*x)/(3*a^4*c^2*Sqrt[a + b*x]*Sqrt[a*c - b*c*x])

Rule 39

Int[1/(((a_) + (b_.)*(x_))^(3/2)*((c_) + (d_.)*(x_))^(3/2)), x_Symbol] :> Simp[x/(a*c*Sqrt[a + b*x]*Sqrt[c + d
*x]), x] /; FreeQ[{a, b, c, d}, x] && EqQ[b*c + a*d, 0]

Rule 40

Int[((a_) + (b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(m_), x_Symbol] :> Simp[(-x)*(a + b*x)^(m + 1)*((c + d*x)^(m
+ 1)/(2*a*c*(m + 1))), x] + Dist[(2*m + 3)/(2*a*c*(m + 1)), Int[(a + b*x)^(m + 1)*(c + d*x)^(m + 1), x], x] /;
 FreeQ[{a, b, c, d}, x] && EqQ[b*c + a*d, 0] && ILtQ[m + 3/2, 0]

Rubi steps

\begin {align*} \int \frac {1}{(a+b x)^{5/2} (a c-b c x)^{5/2}} \, dx &=\frac {x}{3 a^2 c (a+b x)^{3/2} (a c-b c x)^{3/2}}+\frac {2 \int \frac {1}{(a+b x)^{3/2} (a c-b c x)^{3/2}} \, dx}{3 a^2 c}\\ &=\frac {x}{3 a^2 c (a+b x)^{3/2} (a c-b c x)^{3/2}}+\frac {2 x}{3 a^4 c^2 \sqrt {a+b x} \sqrt {a c-b c x}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.07, size = 46, normalized size = 0.69 \begin {gather*} \frac {3 a^2 x-2 b^2 x^3}{3 a^4 c (c (a-b x))^{3/2} (a+b x)^{3/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/((a + b*x)^(5/2)*(a*c - b*c*x)^(5/2)),x]

[Out]

(3*a^2*x - 2*b^2*x^3)/(3*a^4*c*(c*(a - b*x))^(3/2)*(a + b*x)^(3/2))

________________________________________________________________________________________

Mathics [C] Result contains higher order function than in optimal. Order 9 vs. order 2 in optimal.
time = 10.81, size = 79, normalized size = 1.18 \begin {gather*} \frac {I \text {meijerg}\left [\left \{\left \{\frac {5}{4},\frac {7}{4},1\right \},\left \{\frac {1}{2},\frac {5}{2},3\right \}\right \},\left \{\left \{\frac {5}{4},\frac {7}{4},2,\frac {5}{2},3\right \},\left \{0\right \}\right \},\frac {a^2}{b^2 x^2}\right ]+\text {meijerg}\left [\left \{\left \{-\frac {1}{2},0,\frac {1}{2},\frac {3}{4},\frac {5}{4},1\right \},\left \{\right \}\right \},\left \{\left \{\frac {3}{4},\frac {5}{4}\right \},\left \{-\frac {1}{2},0,2,0\right \}\right \},\frac {a^2 \text {exp\_polar}\left [-2 I \text {Pi}\right ]}{b^2 x^2}\right ]}{3 \text {Pi}^{\frac {3}{2}} a^4 b c^{\frac {5}{2}}} \end {gather*}

Warning: Unable to verify antiderivative.

[In]

mathics('Integrate[1/((a + b*x)^(5/2)*(a*c - b*c*x)^(5/2)),x]')

[Out]

(I meijerg[{{5 / 4, 7 / 4, 1}, {1 / 2, 5 / 2, 3}}, {{5 / 4, 7 / 4, 2, 5 / 2, 3}, {0}}, a ^ 2 / (b ^ 2 x ^ 2)]
+ meijerg[{{-1 / 2, 0, 1 / 2, 3 / 4, 5 / 4, 1}, {}}, {{3 / 4, 5 / 4}, {-1 / 2, 0, 2, 0}}, a ^ 2 exp_polar[-2 I
 Pi] / (b ^ 2 x ^ 2)]) / (3 Pi ^ (3 / 2) a ^ 4 b c ^ (5 / 2))

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(128\) vs. \(2(55)=110\).
time = 0.14, size = 129, normalized size = 1.93

method result size
gosper \(\frac {\left (-b x +a \right ) x \left (-2 x^{2} b^{2}+3 a^{2}\right )}{3 \left (b x +a \right )^{\frac {3}{2}} a^{4} \left (-b c x +a c \right )^{\frac {5}{2}}}\) \(45\)
default \(-\frac {1}{3 a b c \left (b x +a \right )^{\frac {3}{2}} \left (-b c x +a c \right )^{\frac {3}{2}}}+\frac {-\frac {1}{a b c \sqrt {b x +a}\, \left (-b c x +a c \right )^{\frac {3}{2}}}+\frac {\frac {2 \sqrt {b x +a}}{3 a b c \left (-b c x +a c \right )^{\frac {3}{2}}}+\frac {2 \sqrt {b x +a}}{3 b \,a^{2} c^{2} \sqrt {-b c x +a c}}}{a}}{a}\) \(129\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(b*x+a)^(5/2)/(-b*c*x+a*c)^(5/2),x,method=_RETURNVERBOSE)

[Out]

-1/3/a/b/c/(b*x+a)^(3/2)/(-b*c*x+a*c)^(3/2)+1/a*(-1/a/b/c/(b*x+a)^(1/2)/(-b*c*x+a*c)^(3/2)+2/a*(1/3/a/b/c/(-b*
c*x+a*c)^(3/2)*(b*x+a)^(1/2)+1/3/b/a^2/c^2/(-b*c*x+a*c)^(1/2)*(b*x+a)^(1/2)))

________________________________________________________________________________________

Maxima [A]
time = 0.27, size = 53, normalized size = 0.79 \begin {gather*} \frac {x}{3 \, {\left (-b^{2} c x^{2} + a^{2} c\right )}^{\frac {3}{2}} a^{2} c} + \frac {2 \, x}{3 \, \sqrt {-b^{2} c x^{2} + a^{2} c} a^{4} c^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b*x+a)^(5/2)/(-b*c*x+a*c)^(5/2),x, algorithm="maxima")

[Out]

1/3*x/((-b^2*c*x^2 + a^2*c)^(3/2)*a^2*c) + 2/3*x/(sqrt(-b^2*c*x^2 + a^2*c)*a^4*c^2)

________________________________________________________________________________________

Fricas [A]
time = 0.30, size = 72, normalized size = 1.07 \begin {gather*} -\frac {{\left (2 \, b^{2} x^{3} - 3 \, a^{2} x\right )} \sqrt {-b c x + a c} \sqrt {b x + a}}{3 \, {\left (a^{4} b^{4} c^{3} x^{4} - 2 \, a^{6} b^{2} c^{3} x^{2} + a^{8} c^{3}\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b*x+a)^(5/2)/(-b*c*x+a*c)^(5/2),x, algorithm="fricas")

[Out]

-1/3*(2*b^2*x^3 - 3*a^2*x)*sqrt(-b*c*x + a*c)*sqrt(b*x + a)/(a^4*b^4*c^3*x^4 - 2*a^6*b^2*c^3*x^2 + a^8*c^3)

________________________________________________________________________________________

Sympy [C] Result contains complex when optimal does not.
time = 9.48, size = 94, normalized size = 1.40 \begin {gather*} \frac {i {G_{6, 6}^{5, 3}\left (\begin {matrix} \frac {5}{4}, \frac {7}{4}, 1 & \frac {1}{2}, \frac {5}{2}, 3 \\\frac {5}{4}, \frac {7}{4}, 2, \frac {5}{2}, 3 & 0 \end {matrix} \middle | {\frac {a^{2}}{b^{2} x^{2}}} \right )}}{3 \pi ^{\frac {3}{2}} a^{4} b c^{\frac {5}{2}}} + \frac {{G_{6, 6}^{2, 6}\left (\begin {matrix} - \frac {1}{2}, 0, \frac {1}{2}, \frac {3}{4}, \frac {5}{4}, 1 & \\\frac {3}{4}, \frac {5}{4} & - \frac {1}{2}, 0, 2, 0 \end {matrix} \middle | {\frac {a^{2} e^{- 2 i \pi }}{b^{2} x^{2}}} \right )}}{3 \pi ^{\frac {3}{2}} a^{4} b c^{\frac {5}{2}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b*x+a)**(5/2)/(-b*c*x+a*c)**(5/2),x)

[Out]

I*meijerg(((5/4, 7/4, 1), (1/2, 5/2, 3)), ((5/4, 7/4, 2, 5/2, 3), (0,)), a**2/(b**2*x**2))/(3*pi**(3/2)*a**4*b
*c**(5/2)) + meijerg(((-1/2, 0, 1/2, 3/4, 5/4, 1), ()), ((3/4, 5/4), (-1/2, 0, 2, 0)), a**2*exp_polar(-2*I*pi)
/(b**2*x**2))/(3*pi**(3/2)*a**4*b*c**(5/2))

________________________________________________________________________________________

Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 199 vs. \(2 (55) = 110\).
time = 0.03, size = 256, normalized size = 3.82 \begin {gather*} \frac {2 \left (\frac {2 \left (-\frac {192 c a^{3} \sqrt {a+b x} \sqrt {a+b x}}{2304 c^{2} a^{7}}+\frac {432 c a^{4}}{2304 c^{2} a^{7}}\right ) \sqrt {a+b x} \sqrt {2 a c-c \left (a+b x\right )}}{\left (2 a c-c \left (a+b x\right )\right )^{2}}-\frac {2 \left (-3 \left (\sqrt {2 a c-c \left (a+b x\right )}-\sqrt {-c} \sqrt {a+b x}\right )^{4}+18 c \left (\sqrt {2 a c-c \left (a+b x\right )}-\sqrt {-c} \sqrt {a+b x}\right )^{2} a-16 c^{2} a^{2}\right )}{12 c \sqrt {-c} a^{3} \left (-\left (\sqrt {2 a c-c \left (a+b x\right )}-\sqrt {-c} \sqrt {a+b x}\right )^{2}+2 c a\right )^{3}}\right )}{b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b*x+a)^(5/2)/(-b*c*x+a*c)^(5/2),x)

[Out]

-1/12*(sqrt(-(b*x + a)*c + 2*a*c)*sqrt(b*x + a)*(4*(b*x + a)/(a^4*c) - 9/(a^3*c))/((b*x + a)*c - 2*a*c)^2 + 4*
(3*(sqrt(b*x + a)*sqrt(-c) - sqrt(-(b*x + a)*c + 2*a*c))^4 - 18*a*(sqrt(b*x + a)*sqrt(-c) - sqrt(-(b*x + a)*c
+ 2*a*c))^2*c + 16*a^2*c^2)/(((sqrt(b*x + a)*sqrt(-c) - sqrt(-(b*x + a)*c + 2*a*c))^2 - 2*a*c)^3*a^3*sqrt(-c)*
c))/b

________________________________________________________________________________________

Mupad [B]
time = 0.58, size = 80, normalized size = 1.19 \begin {gather*} -\frac {3\,a^2\,x\,\sqrt {a\,c-b\,c\,x}-2\,b^2\,x^3\,\sqrt {a\,c-b\,c\,x}}{{\left (a\,c-b\,c\,x\right )}^2\,\left (3\,a^4\,\left (a\,c-b\,c\,x\right )-6\,a^5\,c\right )\,\sqrt {a+b\,x}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/((a*c - b*c*x)^(5/2)*(a + b*x)^(5/2)),x)

[Out]

-(3*a^2*x*(a*c - b*c*x)^(1/2) - 2*b^2*x^3*(a*c - b*c*x)^(1/2))/((a*c - b*c*x)^2*(3*a^4*(a*c - b*c*x) - 6*a^5*c
)*(a + b*x)^(1/2))

________________________________________________________________________________________